<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>vue-once练习</title>
</head>

<body>

    <div id="app">
        <div>saffs</div>
        <input type="text" v-once v-model="message" />
        </br>
        <input type="text" v-model="message" />
    </div>
    <script src="../js/vue.js"> </script>
    <script type="text/javascript">
        let vm = new Vue({
            el: '#app',
            data: {
                message: "vue_mvvm模式"
            },
            methods: {

            }
        })
        console.log('d')

    </script>
</body>

</html>